<?php
/**
 * 邮件账户设置
 * @author Administrator
 *
 */
class Application_Model_DbTable_Mailconf extends Application_Model_DbTable_Base
{
    protected $_name = 'mail_conf';

	/**
	 * 取得列表
	 */
	public function getUserListForFlex($pageM = NULL){
		$rows = $this->jqfetchAll($pageM);
		return $rows;
	}
	
	/**
	 * 获得全部可用邮箱账户
	 */
	public function getEnabledItems()
	{
		return $accoutLst = $this->fetchAll( "`enabled` <> 0" );
	}
}

